/**
 * 关怀提醒
 */

import request from '@/utils/request'
/**
 * 关怀分页查询
 * @param {*} param 
 * @param {*} pageSize 
 * @param {*} pageNo 
 */
export function caringPage(param, pageSize, pageNo) {
    const data = {
        pageNo,
        pageSize,
        param: {
            ...param
        }
    }
    return request.post('/caring/page', data)
}

/**
 * 关怀新增
 * @param {*} param 
 */
export function caringSave(param) {
    return request.post('/caring/save', param)
}

/**
 * 关怀删除
 * @param {*} id 
 */
export function deleteCaring(id) {
    return request.delete(`/caring/${id}`)
}
/**
 * 获取短信关键字信息
 */
export function caringGetSmsKey() {
    return request.get(`/caring/getSmsKey`)
}



